package org.jeecg.modules.basic.print.service;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.basic.print.entity.DocumentTypeStatusQuery;
import org.jeecg.modules.basic.print.entity.WmsDocumentTypeStatus;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: 状态配置
 * @Author: jeecg-boot
 * @Date:   2023-09-13
 * @Version: V1.0
 */
public interface IWmsDocumentTypeStatusService extends IService<WmsDocumentTypeStatus> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<WmsDocumentTypeStatus>
	 */
	public List<WmsDocumentTypeStatus> selectByMainId(String mainId);

	WmsDocumentTypeStatus getCodeByStatus(DocumentTypeStatusQuery query);
}
